Consistently use classes for deleted items in lists of diffs
authorjdlrobson <jdlrobson@gmail.com>
Tue, 26 Mar 2019 16:30:35 +0000 (09:30 -0700)
committerVolkerE <volker.e@wikimedia.org>
Tue, 26 Mar 2019 23:04:51 +0000 (23:04 +0000)
commit064dd53b284f46600aba2818db536d0874c10c89
tree22669e7f184767aa7237d574afbd816c0dfd9280
parent9e9ec488d15f7cf2ab1c2aeccf9fbc01a06c33cd
Consistently use classes for deleted items in lists of diffs

Even if a revision has been deleted and the history-deleted class is
being used, the original class for its corresponding element when
not deleted should be applied. This is important as it allows skins
to skin consistently. "history-deleted" is a modifier class - it provides
further information on the original meaning.

This blocks styling the history page from core in Minerva skin

Bug: T216420
Change-Id: Ia659606838d7e38bc09054e36cd980b00f5e6da9
includes/Linker.php
includes/actions/pagers/HistoryPager.php